<body>
<h1>
	<table style="width: 100%; border: 0px; padding: 0px; margin: 0px;">
		<tr>
			<td style="text-align: left;">
				<a style="text-decoration: none;color: #000; font-size:22px; font-weight: bold;" href="<pc:GetUrlUriTags value="" />">
					<img style="border-width: 0px; margin: 0px; padding: 0px; " src="<pc:GetUrlUriTags value="/resources/image/menu/tis_new_logo.png" />"/>					
					Smart Monitor Interface Logs
				</a>
			</td>
			<td style="text-align: right;">
				<span id="fieldClock" style="font-size: 14px; font-weight:lighter;"></span> &nbsp;
					<%
					if(new com.tis.interfaces.controller.commons.CommonController().UserJspLoginValidation(request)){
					%>
					  	<label><pc:UserSecurityInformation prefix="Welcome&nbsp;" />  
					  	</label>
					  	<form:form method="post" action="/smartlogs/logout">
					  		<input id="btnLogOut" type="submit" value="Logout" />
					  	</form:form>
				  	<% } %>
			</td>
		</tr>
	</table>
</h1>
<%
if(new com.tis.interfaces.controller.commons.CommonController().UserJspLoginValidation(request)){
%>
<table  width="100%" border="0" style="margin: 0px; padding: 0px; background-color: #F8F8F8; ">
	<tr style="margin: 0px; padding: 0px;"> 
	<td height="30px"  width="32px" style="margin: 0px; padding: 0px;">
<!-- Beginning of compulsory code below -->
<ul id="nav" class="dropdown dropdown-horizontal">
	<li class="dir">Pending Jobs
		<ul>
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Customer (SD)</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/sd/outbound/sales/customer/backlogs/index" />">Customer</a></li>
				</ul>
			</li>
				
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Financial Accounting (FI)</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/invoice/backlogs/index" />">Invoice</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/receipt/backlogs/index" />">Receipt</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/creditnote/backlogs/index" />">Credit Note</a></li>
					<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/depositreturn/backlogs/index" />">Deposit Return</a></li>								
				</ul>
			</li>
			<li class="dir" style="width: 200px;"><a href="<pc:GetUrlUriTags value="" />">Logs</a>
				<ul style="width: 200px;">
					<li><a href="<pc:GetUrlUriTags value="/application/logs/list/index" />">Application Logs</a></li>
				</ul>
			</li>
		</ul>
	</li>		
	<li class="dir">Financial Accounting (FI)
		<ul>
			<li><a href="<pc:GetUrlUriTags value="/sd/outbound/sales/customer/index" />">Customer Master</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/invoice/index" />">Invoice Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/receipt/index" />">Receipt Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/deposit/return/index" />"> Deposit Return Outbound</a></li>
			<li><a href="<pc:GetUrlUriTags value="/fi/outbound/rental/creditnote/index" />">Credit Note Outbound</a></li>
		</ul>
	</li>	
	<li class="dir rtl"><a href="#">About &amp; Contact Us</a>
		<ul style="width: 200px;">
			<li><a href="<pc:GetUrlUriTags value="/about/" />">About</a></li>
			<!-- 
			<li class="dir"><a href="./">Map &amp; Driving Directions</a>
				<ul style="width: 200px;">
					<li><a href="./">Map</a></li>
					<li><a href="./">Driving Directions</a></li>
				</ul>
			</li>
			 -->
			<li><a href="https://www.facebook.com/tis.co.th">Facebook</a></li>
			<%
				com.tis.database.entitys.security.AdUserLogin adUserLogin = new com.tis.interfaces.controller.commons.CommonController().GetAdUserLoginSession(request);			
				if(adUserLogin != null) {				
					if(adUserLogin.getUserLogin().equals("F{||9||}PZtTgA4k5q{||9||}9o6Jzik6w{||4||}{||4||}"))
					{
						%>
							<li><a href="<pc:GetUrlUriTags value="/security/user/register/list" />">Users</a></li>
						<%
					}
				}
			%>
		</ul>
	</li>
</ul>
<!-- / END -->
	</tr>
	</td>
</table>
<% } %>